/********************************************************************************
** Form generated from reading UI file 'connectdialog.ui'
**
** Created: Sun Jun 5 17:17:53 2011
**      by: Qt User Interface Compiler version 4.7.2
**
** WARNING! All changes made in this file will be lost when recompiling UI file!
********************************************************************************/

#ifndef UI_CONNECTDIALOG_H
#define UI_CONNECTDIALOG_H

#include <QtCore/QVariant>
#include <QtGui/QAction>
#include <QtGui/QApplication>
#include <QtGui/QButtonGroup>
#include <QtGui/QCheckBox>
#include <QtGui/QDialog>
#include <QtGui/QGridLayout>
#include <QtGui/QGroupBox>
#include <QtGui/QHBoxLayout>
#include <QtGui/QHeaderView>
#include <QtGui/QLabel>
#include <QtGui/QLineEdit>
#include <QtGui/QPushButton>
#include <QtGui/QSpacerItem>
#include <QtGui/QSpinBox>

QT_BEGIN_NAMESPACE

class Ui_ConnectDialog
{
public:
    QGridLayout *gridLayout;
    QGroupBox *groupBox;
    QGridLayout *gridLayout1;
    QCheckBox *adminCheckBox;
    QLineEdit *adminLineEdit;
    QLabel *adminLabel;
    QGroupBox *groupBox_2;
    QGridLayout *gridLayout2;
    QCheckBox *sslCheckBox;
    QLabel *label_2;
    QSpinBox *portSpinBox;
    QLineEdit *hostnameLineEdit;
    QLabel *label;
    QHBoxLayout *hboxLayout;
    QSpacerItem *spacerItem;
    QPushButton *connectButton;
    QPushButton *cancelButton;

    void setupUi(QDialog *ConnectDialog)
    {
        if (ConnectDialog->objectName().isEmpty())
            ConnectDialog->setObjectName(QString::fromUtf8("ConnectDialog"));
        ConnectDialog->resize(333, 286);
        ConnectDialog->setModal(true);
        gridLayout = new QGridLayout(ConnectDialog);
#ifndef Q_OS_MAC
        gridLayout->setSpacing(6);
#endif
#ifndef Q_OS_MAC
        gridLayout->setContentsMargins(9, 9, 9, 9);
#endif
        gridLayout->setObjectName(QString::fromUtf8("gridLayout"));
        groupBox = new QGroupBox(ConnectDialog);
        groupBox->setObjectName(QString::fromUtf8("groupBox"));
        gridLayout1 = new QGridLayout(groupBox);
#ifndef Q_OS_MAC
        gridLayout1->setSpacing(6);
#endif
#ifndef Q_OS_MAC
        gridLayout1->setContentsMargins(9, 9, 9, 9);
#endif
        gridLayout1->setObjectName(QString::fromUtf8("gridLayout1"));
        adminCheckBox = new QCheckBox(groupBox);
        adminCheckBox->setObjectName(QString::fromUtf8("adminCheckBox"));

        gridLayout1->addWidget(adminCheckBox, 0, 1, 1, 1);

        adminLineEdit = new QLineEdit(groupBox);
        adminLineEdit->setObjectName(QString::fromUtf8("adminLineEdit"));
        adminLineEdit->setEnabled(false);
        adminLineEdit->setEchoMode(QLineEdit::Password);

        gridLayout1->addWidget(adminLineEdit, 1, 1, 1, 1);

        adminLabel = new QLabel(groupBox);
        adminLabel->setObjectName(QString::fromUtf8("adminLabel"));
        adminLabel->setEnabled(false);

        gridLayout1->addWidget(adminLabel, 1, 0, 1, 1);


        gridLayout->addWidget(groupBox, 1, 0, 1, 1);

        groupBox_2 = new QGroupBox(ConnectDialog);
        groupBox_2->setObjectName(QString::fromUtf8("groupBox_2"));
        gridLayout2 = new QGridLayout(groupBox_2);
#ifndef Q_OS_MAC
        gridLayout2->setSpacing(6);
#endif
#ifndef Q_OS_MAC
        gridLayout2->setContentsMargins(9, 9, 9, 9);
#endif
        gridLayout2->setObjectName(QString::fromUtf8("gridLayout2"));
        sslCheckBox = new QCheckBox(groupBox_2);
        sslCheckBox->setObjectName(QString::fromUtf8("sslCheckBox"));
        sslCheckBox->setEnabled(true);
        sslCheckBox->setCheckable(true);
        sslCheckBox->setChecked(true);

        gridLayout2->addWidget(sslCheckBox, 2, 1, 1, 1);

        label_2 = new QLabel(groupBox_2);
        label_2->setObjectName(QString::fromUtf8("label_2"));

        gridLayout2->addWidget(label_2, 1, 0, 1, 1);

        portSpinBox = new QSpinBox(groupBox_2);
        portSpinBox->setObjectName(QString::fromUtf8("portSpinBox"));
        portSpinBox->setMaximum(65536);
        portSpinBox->setValue(6999);

        gridLayout2->addWidget(portSpinBox, 1, 1, 1, 1);

        hostnameLineEdit = new QLineEdit(groupBox_2);
        hostnameLineEdit->setObjectName(QString::fromUtf8("hostnameLineEdit"));

        gridLayout2->addWidget(hostnameLineEdit, 0, 1, 1, 1);

        label = new QLabel(groupBox_2);
        label->setObjectName(QString::fromUtf8("label"));

        gridLayout2->addWidget(label, 0, 0, 1, 1);


        gridLayout->addWidget(groupBox_2, 0, 0, 1, 1);

        hboxLayout = new QHBoxLayout();
#ifndef Q_OS_MAC
        hboxLayout->setSpacing(6);
#endif
        hboxLayout->setContentsMargins(0, 0, 0, 0);
        hboxLayout->setObjectName(QString::fromUtf8("hboxLayout"));
        spacerItem = new QSpacerItem(131, 31, QSizePolicy::Expanding, QSizePolicy::Minimum);

        hboxLayout->addItem(spacerItem);

        connectButton = new QPushButton(ConnectDialog);
        connectButton->setObjectName(QString::fromUtf8("connectButton"));
        connectButton->setDefault(true);

        hboxLayout->addWidget(connectButton);

        cancelButton = new QPushButton(ConnectDialog);
        cancelButton->setObjectName(QString::fromUtf8("cancelButton"));
        cancelButton->setFlat(false);

        hboxLayout->addWidget(cancelButton);


        gridLayout->addLayout(hboxLayout, 2, 0, 1, 1);

#ifndef QT_NO_SHORTCUT
        adminLabel->setBuddy(adminLineEdit);
        label_2->setBuddy(portSpinBox);
        label->setBuddy(hostnameLineEdit);
#endif // QT_NO_SHORTCUT
        QWidget::setTabOrder(hostnameLineEdit, portSpinBox);
        QWidget::setTabOrder(portSpinBox, sslCheckBox);
        QWidget::setTabOrder(sslCheckBox, adminCheckBox);
        QWidget::setTabOrder(adminCheckBox, adminLineEdit);
        QWidget::setTabOrder(adminLineEdit, cancelButton);
        QWidget::setTabOrder(cancelButton, connectButton);

        retranslateUi(ConnectDialog);
        QObject::connect(cancelButton, SIGNAL(clicked()), ConnectDialog, SLOT(reject()));

        QMetaObject::connectSlotsByName(ConnectDialog);
    } // setupUi

    void retranslateUi(QDialog *ConnectDialog)
    {
        ConnectDialog->setWindowTitle(QApplication::translate("ConnectDialog", "Connect to Server", 0, QApplication::UnicodeUTF8));
        groupBox->setTitle(QApplication::translate("ConnectDialog", "Administrative", 0, QApplication::UnicodeUTF8));
        adminCheckBox->setText(QApplication::translate("ConnectDialog", "Connect as &administrator", 0, QApplication::UnicodeUTF8));
        adminLabel->setText(QApplication::translate("ConnectDialog", "Pass&word:", 0, QApplication::UnicodeUTF8));
        groupBox_2->setTitle(QApplication::translate("ConnectDialog", "Server", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_WHATSTHIS
        sslCheckBox->setWhatsThis(QApplication::translate("ConnectDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body style=\" white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">SSL is used to encrypt communication between AdderGUI and the Adder server. This is important, for example, to protect your password.</p></body></html>", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_WHATSTHIS
        sslCheckBox->setText(QApplication::translate("ConnectDialog", "Use &SSL", 0, QApplication::UnicodeUTF8));
        label_2->setText(QApplication::translate("ConnectDialog", "&Port:", 0, QApplication::UnicodeUTF8));
#ifndef QT_NO_WHATSTHIS
        portSpinBox->setWhatsThis(QApplication::translate("ConnectDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body style=\" white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Enter the port of the Adder server. By default, this is '6999'.</p></body></html>", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_WHATSTHIS
#ifndef QT_NO_TOOLTIP
        hostnameLineEdit->setToolTip(QString());
#endif // QT_NO_TOOLTIP
#ifndef QT_NO_WHATSTHIS
        hostnameLineEdit->setWhatsThis(QApplication::translate("ConnectDialog", "<html><head><meta name=\"qrichtext\" content=\"1\" /></head><body style=\" white-space: pre-wrap; font-family:Sans Serif; font-size:9pt; font-weight:400; font-style:normal; text-decoration:none;\"><p style=\" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;\">Enter the hostname of the Adder server here. This could be a hostname such as 'adder.server.com', or an IP address such as '127.0.0.1'.</p></body></html>", 0, QApplication::UnicodeUTF8));
#endif // QT_NO_WHATSTHIS
        label->setText(QApplication::translate("ConnectDialog", "&Hostname:", 0, QApplication::UnicodeUTF8));
        connectButton->setText(QApplication::translate("ConnectDialog", "&Connect", 0, QApplication::UnicodeUTF8));
        cancelButton->setText(QApplication::translate("ConnectDialog", "Cancel", 0, QApplication::UnicodeUTF8));
    } // retranslateUi

};

namespace Ui {
    class ConnectDialog: public Ui_ConnectDialog {};
} // namespace Ui

QT_END_NAMESPACE

#endif // UI_CONNECTDIALOG_H
